projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27f98b7
)
(diff-sentinel): Take note of diff error return value.
author
Chong Yidong
<cyd@stupidchicken.com>
Mon, 24 Nov 2008 21:11:12 +0000
(21:11 +0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Mon, 24 Nov 2008 21:11:12 +0000
(21:11 +0000)
lisp/diff.el
patch
|
blob
|
history
diff --git
a/lisp/diff.el
b/lisp/diff.el
index e806a615cc748f3c9dc5e04b29059b610c1100d5..8fb258cf1e77d51cff777537a2f0862eb2c0cef1 100644
(file)
--- a/
lisp/diff.el
+++ b/
lisp/diff.el
@@
-68,7
+68,9
@@
were found."
(goto-char (point-max))
(let ((inhibit-read-only t))
(insert (format "\nDiff finished%s. %s\n"
- (if (equal 0 code) " (no differences)" "")
+ (cond ((equal 0 code) " (no differences)")
+ ((equal 2 code) " (diff error)")
+ (t ""))
(current-time-string))))))
(defvar diff-old-file nil)